package net.wangds.program;

/**
 * .
 * <p></p>
 *
 * @author 王东石 2020/5/22 14:56.
 */
public class ToUserMsgException extends RuntimeException {

    /**
     * HttpStatus
     */
    private int status;

    private int code;

    public ToUserMsgException(int code, String msg){
        super(msg);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
    public ToUserMsgException(int status, int code, String msg){
        super(msg);
        this.status = status;
        this.code = code;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
